# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=bitlbee-facebook
pkgver=1.2.2
pkgrel=0
pkgdesc="Facebook protocol plugin for BitlBee"
url="https://github.com/bitlbee/bitlbee-facebook"
arch="all"
license="GPL-2.0-or-later"
depends="bitlbee"
makedepends="bitlbee-dev autoconf automake libtool json-glib-dev"
source="https://github.com/bitlbee/bitlbee-facebook/releases/download/v$pkgver/bitlbee-facebook-$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
801524a4a092175d995c5b14c3687fb0ac0d3b2dbaa6b7140bc026fdbb1232831f095204b3ce9810f0c48e5ade931f5cd6125ddc7c0d58990179fb94779d2b2a  bitlbee-facebook-1.2.2.tar.gz
"
